package com.ruoyi.project.wechatprogram.moneyoperatelog.mapper;

import com.ruoyi.project.wechatprogram.moneyoperatelog.domain.WxMoneyOperateLog;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * 员工金额变动记录Mapper接口
 * 
 * @author xinchen
 * @date 2020-05-21
 */
public interface WxMoneyOperateLogMapper 
{
    /**
     * 查询员工金额变动记录
     * 
     * @param id 员工金额变动记录ID
     * @return 员工金额变动记录
     */
    public WxMoneyOperateLog selectWxMoneyOperateLogById(Integer id);

    /**
     * 查询员工金额变动记录列表
     * 
     * @param wxMoneyOperateLog 员工金额变动记录
     * @return 员工金额变动记录集合
     */
    public List<WxMoneyOperateLog> selectWxMoneyOperateLogList(WxMoneyOperateLog wxMoneyOperateLog);

    /**
     * 查询员工金额变动记录列表-个人
     *
     * @param phone 员工金额变动记录
     * @return 员工金额变动记录
     */
    public List<WxMoneyOperateLog> selectWxMoneyOperateLogListByPhone(@Param("phone") String phone);

    /**
     * 新增员工金额变动记录
     * 
     * @param wxMoneyOperateLog 员工金额变动记录
     * @return 结果
     */
    public int insertWxMoneyOperateLog(WxMoneyOperateLog wxMoneyOperateLog);

    /**
     * 修改员工金额变动记录
     * 
     * @param wxMoneyOperateLog 员工金额变动记录
     * @return 结果
     */
    public int updateWxMoneyOperateLog(WxMoneyOperateLog wxMoneyOperateLog);

    /**
     * 删除员工金额变动记录
     * 
     * @param id 员工金额变动记录ID
     * @return 结果
     */
    public int deleteWxMoneyOperateLogById(Integer id);

    /**
     * 批量删除员工金额变动记录
     * 
     * @param ids 需要删除的数据ID
     * @return 结果
     */
    public int deleteWxMoneyOperateLogByIds(String[] ids);

    public int insertWxMoneyOperateLogList(List<WxMoneyOperateLog> wxMoneyOperateLogList);
}
